package com.aiiter.house.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aiiter.common.annotation.Excel;
import com.aiiter.common.core.domain.BaseEntity;

/**
 * 账单明细对象 house_charge_item
 *
 * @author ruoyi
 * @date 2024-09-24
 */
public class HouseChargeItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收费条目ID */
    private Long feeId;

    /** 账单ID */
    @Excel(name = "账单ID")
    private Long billId;

    /** 收费项目 */
    @Excel(name = "收费项目")
    private String title;

    /** 收费类型 */
    @Excel(name = "收费类型")
    private String feeType;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 当前读数 */
    @Excel(name = "当前读数")
    private BigDecimal currentReading;

    /** 登记日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDate;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imagePath;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDelete;

    public void setFeeId(Long feeId)
    {
        this.feeId = feeId;
    }

    public Long getFeeId()
    {
        return feeId;
    }
    public void setBillId(Long billId)
    {
        this.billId = billId;
    }

    public Long getBillId()
    {
        return billId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setFeeType(String feeType)
    {
        this.feeType = feeType;
    }

    public String getFeeType()
    {
        return feeType;
    }
    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }
    public void setCurrentReading(BigDecimal currentReading)
    {
        this.currentReading = currentReading;
    }

    public BigDecimal getCurrentReading()
    {
        return currentReading;
    }
    public void setRegistrationDate(Date registrationDate)
    {
        this.registrationDate = registrationDate;
    }

    public Date getRegistrationDate()
    {
        return registrationDate;
    }
    public void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    public String getImagePath()
    {
        return imagePath;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("feeId", getFeeId())
                .append("billId", getBillId())
                .append("title", getTitle())
                .append("feeType", getFeeType())
                .append("unitPrice", getUnitPrice())
                .append("currentReading", getCurrentReading())
                .append("registrationDate", getRegistrationDate())
                .append("imagePath", getImagePath())
                .append("isDelete", getIsDelete())
                .toString();
    }
}
